Bevel Button Behavior Constants
NEW WITH THE APPEARANCE MANAGER
You can pass these constants in the high byte of theminimumValue
parameter ofNewControl
to create a bevel button with a specific behavior.
enum { kControlBehaviorPushbutton = 0, kControlBehaviorToggles = 0x0100, kControlBehaviorSticky = 0x0200, kControlBehaviorOffsetContents = 0x8000 };Constant descriptions
kControlBehaviorPushbutton
- Push button (momentary) behavior. The bevel button pops up after being clicked.
kControlBehaviorToggles
- Toggle behavior. The bevel button toggles state automatically when clicked.
kControlBehaviorSticky
- Sticky behavior. Once clicked, the bevel button stays down until your application sets the control's value to 0. This behavior is useful in tool palettes and radio groups.
kControlBehaviorOffsetContents
- Bevel button contents are offset (one pixel down and to the right) when button is pressed.